import request from '@/utils/request'

// 获取验证码
export function getPhoneVerificationCode(query) {
  return request({
    url: '/jd/getPhoneVerificationCode',
    method: 'get',
    params: query
  })
}
//验证码登陆结果
export function getPhoneLoginResult(query) {
  return request({
    url: '/jd/getPhoneLoginResult',
    method: 'get',
    params: query
  })
}//验证码登陆结果
export function checkCookieIsOk(query) {
  return request({
    url: '/jd/checkCookieIsOk',
    method: 'post',
    data: query
  })
}
//12期抢
export function getCouponsBy12(query) {
  return request({
    url: '/jd/getCouponsBy12',
    method: 'post',
    data: query
  })
}
//6期抢
export function getCouponsBy6(query) {
  return request({
    url: '/jd/getCouponsBy6',
    method: 'post',
    data: query
  })
}
